package com.andy.nacos.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "quickstart-provider")//value 为调用服务的名称
public interface ProviderClient {

    @GetMapping("/service")
    public String service();
}
